#!/bin/bash
# printf hello world 错误语法
# %5s 表示宽度5的字符串 -表示左对齐,默认右对齐 %4.2f 表示两位小数
printf "%-5s %-10s %-4s\n" No Name Mark 
printf "%-5s %-10s %-4.2f\n" 1 Sarath 80000.3456 
printf "%-5s %-10s %-4.2f\n" 2 James 90.9989 
printf "%-5s %-10s %-4.2f\n" 3 Jeff 77.564
